package View;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import controller._Controller;



public class Listener implements ActionListener{

	_View view;
	_Controller controller;
	
	public Listener(_View view,_Controller controller){
		this.controller=controller;
		this.view=view;
	}
	
	public void actionPerformed(ActionEvent arg0) {
		
		controller.start((this.view.getText()));
	}
	
}
